package com.b2c.properties;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
@NacosConfigurationProperties(prefix = "jwt", dataId = "jwt-config", type = ConfigType.YAML, autoRefreshed = true)
public class JwtProperties {

    private Long adminTtl;
    private String adminSecretKey;
    private Long userTtl;
    private String userSecretKey;
    private String tokenName;


}
